package com.ljtxxhwj.myblob.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
public class Draft {
    Integer draftId;
    User user;
    String draftContent;
    String draftTitle;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss"  ,timezone = "GMT+8")
    Timestamp draftDate;
}
